fixed Object.defineProperty detection