use EM::defer in img_search