added proper seaech query encoding