minor database fix