fixed missing db