[orm] fix validation