fixed the bug of the results menu not showing properly.