fixed bug in core.nav related to homepage