search mode fix