Resolving popup defect