format long lines