fix return wrapped command return code