changed _check_local_fields -- return all errors, not only the first one