Fixed bug when subtracting