Fix replaceCheck initalization again.