fixed ORM constants