Fixed a bug in subtraction/sum