updated boostrap loading strategy