menu config function support
code merge