correct aggregate with args STIDF, STF; add time chk