fixed some issues for facebook sns login