Fix for menu directive