modify xtoa function change ' ' to '0'