Fix bug in itoa