coorect pop-up issue