trying to solve db issue