cleans up PATH