fixed preloader when debug is disabled