fix a bug with the new tcplay API