fixing database menu