popup design bug fixes