Prevent the printing of extra semicolons