menu visibility fix