fix swig