set fields with keys as final