machine troubleshooting