fix bug, when displayProp is empty, it should be taken as show the item itself not a function call