remove redundant semicolons