everything but fid fixed for code gen in term, expr nodes