fixed a bug which caused swf_Optimize() to miss some duplicated tags