Fix for auth error