fix image mapping