fixed bug in facebook login