attempting lightbox bug fix