added fix for facebook login bug