warn for trailing slash