bugfix with empty thousands