fix warning, implement itoa.