corrections on return value of grid patches