protocol buffer bug for weights when there are both fixed weight and unfixed weight