fix garbage output in tty
force inserts to happen inside the view