res:dock:: fix menu problem.

reason: _ is used to swallow the useless value.