trying to fix database