fixes period.fold()