Fix showItemInFolder not work because of relative path

revise #937 pull req