fix base_url in widgets