fix 2 title generation bug