fixed fb img function