fix text("") behavior: clear text