popup bugfix