let's initialize the callback directly to save the memory Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>