trim a ',' which is an typo