fixed the parsing of version from header