fix menuindex