removed mutable objects from default arguments in pub/sub object