fix wrong function call for subscribe