remove fortran code dependency