Fixed bug when adding subscriber