fixed popupWrapper class