render proper title