correct output period size