Correcting trailing / in baseurl