fixed search table overflowing, in the wrong branch...