display period fix