fix $PATH search pattern
better unite exclude pattern