fix normalize function for fieldsKey and filesKey

fix normalize function for fieldsKey and filesKey