fixing DataBase table setup