attempting to deal with memory issues by explicitely unsetting the object var