Do not count spaces and fix typo.