fix throw new Error('sourceStart out of bounds');