fixed up a problem in deductions