generic error in Resource/ResourceConfigure interaction

ResourceConfigure is called outside atomic.

fix issue #164