fix crash on topic reset
fix crash