handle strange numbers