corrected wrong variable in sim_grid_info