fixed image popup issue