moved troubleshooting into common