preloader bug fix