fixed self.class typo