popup appears only one once