fixed navigation bug.