fixed attribute setting