handle /a maybe
trailing slash