Fix bug key != image_name