fix .class ignoring