get rid of trailing comma