fixed bug when opening popup TOO SOON