change subject path to sample path