Fixed faulty variable names