Fix uneven processing bug