fix FB login Terminate