fix image refs