fixed path list mem leak