get database fix