fix knp-menu with sonata bug