fix wrong function naming