fix database key name