fix code style in driver
resolve header dependency (fix #85)