fixed defect #198 strip spaces from searches