fix broken popup after design changes