normalizing capitalization