initial fix for division and fix for clearing accumulator