fix a bug where not was missing in bin search