fix table name get rif of old queries