Fix validate handler of the title.