Fix on the error message handler reception (fix by @rogerleite)