Horrible fix for base_url