small sanitation (remove final DAG bits, don't do lengthy code profile in demo code)