fix abstract image loader