Amount fix for processor.js.