fix checkout issue (popup)