fixed navigation active status loop