fixed error messages to fit new signature
fixed error messages to fit new signature