fix when user is None