fancy box support and other small changes