Fix for formatting in arrays