check for ts in the debug case too