added detaching routine for UIImage