remove indexed optino from sample