modify layout for contents