handle huge documents title