digits alignment bugfix