fixed initialize for object type and small fix in soundPubSub