bug #39, corruption of resources occuring when writing to the object context