Fix some bug and add style to display content.