fixed nasty navigation bug.