[IMP] use Warning instead of except_orm