fixed db issue actually