add unref for lambda