Make error messsage match the check