Fixed bug with image_id