fixed some double periods