bug fixing
buf fixing
new sampler
protocol buffer bug for weights when there are both fixed weight and unfixed weight