fixed bug where the title would only be the first word