Bug fix

Class not called correctly