correct lightbox attribute