Corrected error in mod name replacement