adjusted defineProperty to default behaviour