finalize param structure