Popupfix

this should fix #43