fixed buf when deleting last line on tableview, fixed add printer vc ui