tweak to error message to be more accurate
(#563)