moving title truncation code to dead code section, because it looks dead to me