fix for potential null value for user location and name