Remove trailing slash from activity url