catch parse exception when parsing content