fix ParsingError inheritance