rid of extraneous comma