fixed inttoc()