Fix replaced function name