Fixes base url