failed attempt to fix the jj97 line search