fix delete test issue