fix creation of device nodes