fix a bug in FortranCodeASTGenerator