quick fix for image_tag patch