fixed bug on editing and deleting driver.