bike: use both ref&name when available