prevent the name "undefined" from being displayed.