fix case when user info is null