clean image field