remove extra , at the end