adjust to fix in orm
Merge pull request #503 from doctrine/fix-new-instance

Fix new instance