chansrv: check for nil