wip
csclient: do not panic on bad type