template bug fix on comment layout and truncation