fix image references