fix bug with provider booting.