fixing invalid variable name