fixed the naming of the publisher and subscriber