remove TBD value
tidy up codes
enable keywords THIS,PARENT,ROOT in reference