Fix deleteRow issue