Replace period type