fix wrong function call.