some fixes
ted popup button fix