replaces incorrect comma with semicolon