initialize value of mode at parser.h