delete機能の修正