fixing db service