fix for mthumb and mapi_social_link()