Fix database issue.