fix image manager