fix #47: simplify object type selection