fix for preloader