fix objectExists(), added common logging
added common logging