fix misc device registering