Remove path depended entries