remove the pathway