try to work around orm2 limitation (or bug)