fixed failed tests in tags_dialog and tableview