bug fix image manager