Fixed positionAll(). It didn't clear nextpos1/nextpos2.