Trying to fix database