Fix digits method