fix auth issue