fixing up references to 'attribute' where 'parameter' is meant