path cleanup