Fixed #3297: minor typo errors

Fixed commas and dots reported in #3297.