corrupted db crashing the app on startup