find out why lookup fails, and fix it