Class attr bug