fix image configuration