Fixed typo that caused navigate() to fail.