worked on fancybox. but still buggy output.