solve issue of fancybox refeshing and save manpower