handle missing db