Fixing a subtraction error