Fixes bad base url