display correct search term length