bug: incorrect ptr increment