updated ts_shapiro for a compiler warning