Remove nonallowed characters from autotitle.