swf cleanup