fix refs in navigate