fixing display issue on listening to page.