change track to lookup by rt_id instead of id
remove debug prints