throw meaningful message when header does not include a space