Fixed db issue.