need to fix row deletions