Fixed swf bug