fixing for fortran version