fixing bug with ST2 and inserting text