fix image to figure with caption