Properly query by ts, set init time, param. popup.