fixing fallback digits implementation