improve base_url (but not work)