fixed newlines in titles, fixed crash