fixed hidden menu bug