fix for array fields