delete trailing comma