fix delete diary not delete image bug