fix wrong cast in parameter of OrmExample