Remove reset as it is not needed by foreach