Fix case when req.url is '/'