Correct a wrong function overwrite.