Fix persist bug in topic