removed trailing slash to avoid duplicate slashes