fixed a bug in sol_grid_fmm