fix widget $search option parsing issue