fixed error status