fix OOo and swftools issue