hopefully corrected the removeRow logic so that it removes the appropreiate rows;