fix facebook error issue