added sniff for multi line array comma after last element