Fixed a bug in initializing of the parser