Fixed 0 crashing issue

Also fixed an issue where b->b and d->d echoing looked bad because of leading 0's in output