Fixed saving empty params.