fix swf setting