correct sampler code after previous changes in trap project