make ignore trailing slash the default behaviour.