recursion fixes for origin_dt