optimize navigation