fix menuentry selection