Remove stuff which clobbers the path