validate phases inside period