grant_type correction