trying to get database working.
trying to fix database.