Fix of main swig plugin
Fix of swig examples