a small improvement to field constructor