Update ORM.php

more effective solution