fix auth file