fix url encode / decode errors & added ajax search category