fixed bug with bracket added to title on generation