handle uuids when creating image data