fixed insertion bar deletion error and added check to selectRow