Change is to instanceOf
Fixed readGuidRaw