fix popup appearance moment