subnav logic fix