TARS.sql bugfix

hopefully, this version works