fix centerPopup