change delete_target with decorator

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>