fixed swig