fancybox references fixed