fixing swig