Fix bug: typos were always caught