fixing bug on search
fixing error 404