Fixed QG1 parsing bug, special case for VAL