fix for anonymous user