fix when @auth is null