attr bug corrected