fix segfault in f77 to f90 step