fix navigation bar issue