fixed error code