update swig bug