Reduce delta and fix bug.