Bug fixed on priorotising driver

array.