fix gathering params in release