removes unneeded comma