fix for array types