eliminated bug that kept old parameters