dave - fixed string representation of imageId