small fix database