fixed small OOP syntax error