changed to compare by path. not pointer.
shutdown fali bug fixed.