fixed swig engine cache to 'memory' rather than true