fix main nav problem