fix image ref