modified the navigator made it work