fields is an object not an array