fixes passing of locals to swig;
v0.0.4;