eliminate trailing comma