updated db.php by change return value of notORM from table to tables