add guard against stupidity
(#590)