add compatibility for version 2.0.0 header

quick fix for #524. This should probably be replaced with something that parses the new header before being merged.