change customPopup to popup