Fixed subtraction bug

Signed-off-by: Derik Evangelista <kirederik@gmail.com>