remove traiing comma