debug for fancybox