resolve deprecated issues in NavigationClasses.java