fix: added length key to fields