fix runtime error when image_tags is null