GUILANG PARSER: added error log and messages