fixed ghost menu bug