fixed some issues with enumerations and arrays