fix to support for Object.create(null)