remove trail comma