fixing small issue with storing menu in cache