Don't blowup when header is empty

fixes #3