bug fix money subtraction