fixed minor bug with search on /