gallery troubleshooting