Fixed common parseCode crash bug