fixed nav issue crashing algos