fixed invalid class added to view