fix delete_image bug
rm image file