remove $pat_sample from default res when file:///