fixed some bad lines in the fortran templates