replaced base, RBMsampler with right ones