barf on unexpected input