- fixed some small bugs for the adder