Fixed bug regarding thread obj used instead of thread id in navigate.