fix for overwrapped search