Fixes #53 Crash when reading v1 header