field length check