Last comma removed in array