Remove troubleshooting code