nav active item bug fix