fixed bad attr