fix facebook error management