fixes preloader

fixes a typo in the preloader code