fix run error in ProtoParser