fix for images with inconsistent image metadata in rels-int