Fixed minor commit and user error in sampler