fix release mode swfs