fixed capitalization in some variable names