[wip] fixing the 1-off read bug in string escape