fix a bug of preloader by update the foundation library