fixed subtraction in function arguments