change before submiting on the grid