added header to preview mode