cleans up parameter specifications for time_lags