Fix spaces and remove trailing slash