fixed annoying lightbox bug