fix preloader and add offset to params