code fix, all delete tests pass now