database fix
fix dependencies