some tweaks for preloader