Delete needless path