fix row removal