navigation working properly