fix trailing comma in array literral