popup element bugfix