fixed bug in drvier program