fix anonymous login error