fix bug from calling getParams on subscription object