fixed errors in fortran file