fixed caching menu bug