fixed error handling command pass