fixed more mistakes in db