bugfix in showing menu