fixing lightbox issue