Fixed attribute setting.