fix auth lost