replaced faulty variable name