diff --git a/README.md b/README.md
index 07b8fa8052d2a01cd474dd77efebe525ddb68864..4230f4c1b047bd60ba09a27e0aac8551dd37ec00 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,29 @@ Recommended template for theses submitted at [Faculty of Information Technology]
 
 Version
 --------
-1.3.1, built 17. 6. 2024. The whole changelog can be found in the [Changelog file](changelog.md).
+1.3.3, built 18. 6. 2024. The whole changelog can be found in the [Changelog file](changelog.md).
+
+
+Bugs and support
+--------
+
+Please submit bug reports using [issues](https://gitlab.fit.cvut.cz/theses-templates/FITthesis-LaTeX/issues).
+
+Current maintainers
+-------------------
+
+* [Tomáš Nováček](https://usermap.cvut.cz/profile/novacto3)
+
+Previous maintainers
+-------------------
+
+* [Ondřej Guth](https://usermap.cvut.cz/profile/guthondr)
+* [Eliška Šestáková](https://usermap.cvut.cz/profile/sestaeli)
+
+
+
+
+
 
 
 Bugs and support
diff --git a/changelog.md b/changelog.md
index fe9b6b38e24e9e3f562237742e5b3b8acdf69120..22c872d0a04ba9b43b7383ea37de7451264989e3 100644
--- a/changelog.md
+++ b/changelog.md
@@ -5,14 +5,33 @@ All notable changes to this project will be documented in this file.
 The format is based on [Keep a Changelog](http://keepachangelog.com/)
 and this project adheres to [Semantic Versioning](http://semver.org/).
 
-
-## [1.3.1] - 17. 6. 2024
+# [1.3.3] - 18. 6. 2024
   
 Fixed warning about header height.
  
 ### Fixed
 - Fixed "Package fancyhdr Warning: \headheight..." warning.
 
+## [1.3.2] - 18. 6. 2024
+  
+Improvements of captions in the example.
+ 
+### Changed
+- All captions are now at the bottom of the object (figure, listing, table, etc.).
+- The trailing spaces have been removed from the caption
+
+
+## [1.3.1] - 17. 6. 2024
+  
+Improvements of frontmatter, table of contents entries and sectioning.
+ 
+### Changed
+- Changed order of front matter entries (acknowledgements, dedications, etc.) to match standard sectioning.
+- Excluding frontmatter entries from table of contents.
+
+### Fixed
+- Fixed missing empty page after titlepage.
+- Fixed numbering/toc of subsubsection.
 
 
 ## [1.3.0] - 17. 6. 2024
diff --git a/ctufit-thesis.cls b/ctufit-thesis.cls
index d0bcc4725f9c799ef6d53a6074986320128a7d35..7c6aea1e6194e2025a2ca4e03186069f25363264 100644
--- a/ctufit-thesis.cls
+++ b/ctufit-thesis.cls
@@ -281,10 +281,16 @@
 \def\frontsubsectionfont{\large}
 \def\frontsubsubsectionfont{\bfseries}
 
-\setcounter{secnumdepth}{4} % numbering sections; 4: subsubsection
-\setcounter{tocdepth}{4} % table of content depth; 4: subsubsection
-% frontmatter headings end
+\setcounter{secnumdepth}{3} % numbering sections; 3: subsubsection
+
+\newcommand{\stopTOCentries}{
+  \addtocontents{toc}{\protect\setcounter{tocdepth}{-1}}
+}
 
+\newcommand{\resumeTOCentries}{
+  \addtocontents{toc}{\protect\setcounter{tocdepth}{3}} % table of content depth; 3: subsubsection
+}
+% frontmatter headings end
 % frontmatter pseudochapters: named part without printing actual chapter heading
 % \makeatletter
 \newcommand{\frontchapternotprinted}[1]{%
diff --git a/ctufit-thesis.tex b/ctufit-thesis.tex
index 2bd154a933f69770d5ececa21e4a1a3a5bbacf54..3485239e49dc1d7bb8b7d126baa7e5bdf3d932a1 100644
--- a/ctufit-thesis.tex
+++ b/ctufit-thesis.tex
@@ -1,7 +1,7 @@
 %% This is the ctufit-thesis example file. It is used to produce theses
 %% for submission to Czech Technical University, Faculty of Information Technology.
 %%
-%% This is version 1.3.1, built 17. 6. 2024.
+%% This is version 1.3.3, built 18. 6. 2024.
 %% 
 %% Get the newest version from
 %% https://gitlab.fit.cvut.cz/theses-templates/FITthesis-LaTeX
@@ -108,23 +108,12 @@
 \begin{document} 
 \frontmatter\frontmatterinit % do not remove these two commands
 
-\thispagestyle{empty}\cleardoublepage\maketitle % do not remove these three commands
+\thispagestyle{empty}\maketitle\thispagestyle{empty}\cleardoublepage % do not remove these four commands
 
 \includepdf[pages={1-}]{assignment-include.pdf} % replace this file with your thesis assignment generated from ProjectsFIT
 
 \imprintpage % do not remove this command
-
-\tableofcontents % do not remove this command
-%%%%%%%%%%%%%%%%%%%%%%
-% list of other contents: figures, tables, code listings, algorithms, etc.
-% add/remove commands accordingly
-%%%%%%%%%%%%%%%%%%%%%%
-\listoffigures % list of figures
-\begingroup
-\let\clearpage\relax
-\listoftables % list of tables
-\thectufitlistingscommand
-\endgroup
+\stopTOCentries
 %%%%%%%%%%%%%%%%%%%%%%
 % list of other contents END
 %%%%%%%%%%%%%%%%%%%%%%
@@ -191,6 +180,18 @@ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur sagittis hen
 % SUMMARY END
 %%%%%%%%%%%%%%%%%%%
 
+\tableofcontents % do not remove this command
+%%%%%%%%%%%%%%%%%%%%%%
+% list of other contents: figures, tables, code listings, algorithms, etc.
+% add/remove commands accordingly
+%%%%%%%%%%%%%%%%%%%%%%
+\listoffigures % list of figures
+\begingroup
+\let\clearpage\relax
+\listoftables % list of tables
+\thectufitlistingscommand
+\endgroup
+
 %%%%%%%%%%%%%%%%%%%
 % ABBREVIATIONS
 % FILL IN / MODIFY
@@ -213,9 +214,8 @@ W3C & World Wide Web Consortium
 %%%%%%%%%%%%%%%%%%%
 % ABBREVIATIONS END
 %%%%%%%%%%%%%%%%%%%
-
+\resumeTOCentries
 \mainmatter\mainmatterinit % do not remove these two commands
-
 %%%%%%%%%%%%%%%%%%%
 % THE THESIS
 % MODIFY ANYTHING BELOW THIS LINE
diff --git a/text/text.tex b/text/text.tex
index 55a5703d2088c774fc667e54bb6ac6a64649cf7c..b07457307f028c5aa5fa6cccf862c9a6da4d4a65 100644
--- a/text/text.tex
+++ b/text/text.tex
@@ -92,7 +92,7 @@
 \path (v) -- (w) node [midway] {$\Leftrightarrow$};
 \path (r) -- (c) node [midway] {$\cdots$};
 \end{tikzpicture}}
-\caption{~Lorem ipsum dolor sit amet}\label{img:index}
+\caption{Lorem ipsum dolor sit amet}\label{img:index}
 \end{figure}
 
 %---------------------------------------------------------------
@@ -158,7 +158,7 @@ Curabitur ligula sapien, pulvinar a vestibulum quis, facilisis vel sapien. Duis
 
 Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Nulla non arcu lacinia neque faucibus fringilla. Vestibulum erat nulla, ullamcorper nec, rutrum non, nonummy ac, erat. Aliquam erat volutpat. Proin pede metus, vulputate nec, fermentum fringilla, vehicula vitae, justo.\footnote{Ut enim ad minim veniam, quis nostrud exercitation.} Etiam dictum tincidunt diam. In laoreet, magna id viverra tincidunt, sem odio bibendum justo, vel imperdiet sapien wisi sed libero. Nulla est. Maecenas fermentum, sem in pharetra pellentesque, velit turpis volutpat ante, in pharetra metus odio a lectus. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. 
 
-\begin{lstlisting}[caption={~ZbyteÄŤnĂ˝ kĂłd},label=list:8-6,captionpos=t,float,abovecaptionskip=-\medskipamount,belowcaptionskip=\medskipamount,language=C]
+\begin{lstlisting}[caption={ZbyteÄŤnĂ˝ kĂłd},label=list:8-6,captionpos=b,float,abovecaptionskip=-\medskipamount,abovecaptionskip=\medskipamount,language=C]
     #include<stdio.h>
     #include<iostream>
     // A comment
@@ -174,7 +174,6 @@ Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliqu
 % package minted requires execution with `-shell-escape'
 % e.g., `xelatex -shell-escape ctufit-thesis.tex'
 % \begin{listing}
-% \caption{ZbyteÄŤnĂ˝ kĂłd}\label{list:8-6}
 % \begin{minted}{C}
 %     #include<stdio.h>
 %     #include<iostream>
@@ -185,6 +184,7 @@ Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliqu
 %         return 0;
 %     }
 % \end{minted}
+% \caption{ZbyteÄŤnĂ˝ kĂłd}\label{list:8-6}
 % \end{listing}
 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 Nullam feugiat, turpis at pulvinar vulputate, erat libero tristique tellus, nec bibendum odio risus sit amet ante. Aenean id metus id velit ullamcorper pulvinar. Fusce wisi. Integer lacinia. Aliquam id dolor. Pellentesque pretium lectus id turpis. Suspendisse sagittis ultrices augue. In laoreet, magna id viverra tincidunt, sem odio bibendum justo, vel imperdiet sapien wisi sed libero. Sed ac dolor sit amet purus malesuada congue. \cite{Crochemore2002}
@@ -198,12 +198,13 @@ Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos
 Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Nulla non arcu lacinia neque faucibus fringilla. Vestibulum erat nulla, ullamcorper nec, rutrum non, nonummy ac, erat. Aliquam erat volutpat. Proin pede metus, vulputate nec, fermentum fringilla, vehicula vitae, justo. Etiam dictum tincidunt diam. In laoreet, magna id viverra tincidunt, sem odio bibendum justo. \cite{Sestakova2018} 
 
 \begin{table}\centering
-\caption[Příklad tabulky]{~Zadávání matematiky}\label{tab:matematika}
 \begin{tabular}{l|l|c|c}
 	Typ		& Prostředí		& \LaTeX{}ovská zkratka	& \TeX{}ovská zkratka	\tabularnewline \hline 
  	Text		& \verb|math|		& \verb|\(...\)|	& \verb|$...$|	\tabularnewline \hline
  	Displayed	& \verb|displaymath|	& \verb|\[...\]|	& \verb|$$...$$|	\tabularnewline 
 \end{tabular}
+\caption[Příklad tabulky]{Zadávání matematiky}
+\label{tab:matematika}
 \end{table}