remove troubleshooting code snippets