fix timeperiod layout as it does not match expected syntax for awk script (spaces before the "split")