fix bug in facebook signin