fix opengraph method