fixed navigation code style