fixed popup error