fixed attribute setting again