fixed auth error