fixed usage of wrong base types for array-like fields