Fix in driver code, Corrected debug messages