fix func of D-ATC, vtoi()