fixed the popup