remove path that does not exist