ignore trailing slashes of searches