[Fix] a lifecyle bug