fix incorect database usage