fix error
modified navigate