fixed issues with nav