fixing subscriber_info allocation and take pointer. As well as adding debug