fix error of showing menue