compilation fix
a quick fix for EA-44640 (IOOBE wrong endOffset -1 in completion)