fixing db utils