Fix constructor bugs in topic
Fix bug in util pubsub
Fix publish bug on server