fix Auth bug