fix for single argument (filename) sampler constructor