Added reset to parser