minor search bugs