make row deletion actually work