cleanup path settings