fix dir accroding to the sample