fixed the example in Object.getProp