SWIG bug work