Remove sampler from the end. Use name for sampler in removecrap.