fixing possible capitalization errors