fixes error with capitalized variable names