add fancybox but has refresh bug