fix social login bug