Temporarily fix facebook undefine issue