fix image loader