Simple fixes

This pull request includes two very simple fixes. Without these I couldn't use the driver.