This fixes the excess spaces in number of attempts.