removing duplicate CorrectionNode definition
adding custom exception for parsing errors