Fixed autoperiod with comma error.