format long titles