LOL - called replaceRange with wrong text