added empty check for $field[settings][default_values]