Fix error that occurs if user has no name defined.