fix silly mistake in replaceWith naming