fix bug navigation