fix up model handling
send device count