Corrected the replacements