Fix 2 input bugs

if a field is of array type, just readContent to get it's value