change the errorcode