fixed fancy box issue