commit database fix