[param] indexing fix, this can be memory intensive if millions of parameters