minor fixes for textual 3.x