some white space didn't get matched by the previous regex
change the main while loops of the drivers