review input fixes

use `req.path != ‘/‘` instead of `req.path.length > 1`