fix for array