fix cuke by wiping in the param once its been used