fix log-in vc bug