fix delete issue