swig 1 fix