fix widgets api_host config var