fixed error attributes