Fix params cleaning

The internal params were not getting cleared from the final params hash