fixed error messages to fit new signature