Small bug of InsertText() was fixed