removes double semicolon