Fix compact theme, a bug caused empty output