fixed problem with image operation deallocation
Fix on previous update.