Generalised grid fix
updated to use new grid_fix class