Fixed time up in path finding bug