Corrected period replacement