small bug fix and iowait test
implement hook function
set tab width 2