Fix period_spec