Since some versions of php case sensitive, Changed variables to simple.