fix errors of showing menues