bug: wrong locaion for addText()