Fix set wrong function name