fixed nav over fences. added complex test.