base_url wont set correctly