popup error fix