removing long lines