possibly fixed the database issue