refs #1082, fix an error message