fixing some bugs; add fortran plugins