Amended the error command