fixed attribute problem