fixed issue with subscriber using wrong class