Fix the parser initialisation bug and reading class
resolve conflict