fixed bug in topic creation