snapshot for report, copied from writelatex