fixed slight trim issue in search client