bugfix: addDevice after defining devicetype counter dict