Fixed type mismatch in fortran code generated by skel replay