stupid db troubleshooting