fix a popup