fixed bug of "add new device then config driver parameter will throw
exception"