fixed bug in fakeObject definition