remove the last comma