added 'stripTrailingSlash'