remove path dependences