fix reregister bug of facebook.