fix for delete rows