launcher-daemon:: fix wrong function is used