added debug on subscription