fix error on some parent category not working with search url