dynamic menu change fix