diff --git a/README.md b/README.md
index 07b8fa8052d2a01cd474dd77efebe525ddb68864..93ae2384f0ba0f26dc6d4882e08e85c01aa99f35 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ 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 22. 6. 2024. The whole changelog can be found in the [Changelog file](changelog.md).
 
 
 Bugs and support
@@ -29,8 +29,4 @@ Previous maintainers
 -------------------
 
 * [Ondřej Guth](https://usermap.cvut.cz/profile/guthondr)
-* [Eliška Šestáková](https://usermap.cvut.cz/profile/sestaeli)
-
-
-
-
+* [Eliška Šestáková](https://usermap.cvut.cz/profile/sestaeli)
\ No newline at end of file
diff --git a/changelog.md b/changelog.md
index 0622411f4d5c1cd2d87a96eba4d8e6a47bccd2b1..9719bb193d89afac504770a32acc83d5d588f7f6 100644
--- a/changelog.md
+++ b/changelog.md
@@ -5,6 +5,26 @@ 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.3] - 22. 6. 2024
+  
+Fixed warning about header height. Update of arara compilation settings.
+ 
+### Fixed
+- Fixed "Package fancyhdr Warning: \headheight..." warning.
+
+### Changed
+- Changed arara settings to properly match the new default compiler.
+
+
+## [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.
diff --git a/ctufit-thesis.cls b/ctufit-thesis.cls
index 6daea5a4f1e6f31543d311b59b298e0960ef7e56..3b5e24cbe18eaab8fadf8b89396d5f3c767b7367 100644
--- a/ctufit-thesis.cls
+++ b/ctufit-thesis.cls
@@ -331,6 +331,8 @@
 \fi
 \fancyhead[RO]{\leavevmode\smash{\rlap{\hspace*{0em}\color{headgray}\bfseries\thepage}}}
 \fancyhead[LO]{\color{headgray}\bfseries\nouppercase{\rightmark}}
+\setlength{\headheight}{14.05pt}
+\addtolength{\topmargin}{-2.05pt}
 \renewcommand{\headrulewidth}{0pt}
 % headers and footers end
 
diff --git a/ctufit-thesis.tex b/ctufit-thesis.tex
index 8fa3878d62e9dec339310e3b394a4f4679f9f4dd..b35616c44c0be2a782bbf836f3a2ecf4fa4007eb 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 22. 6. 2024.
 %% 
 %% Get the newest version from
 %% https://gitlab.fit.cvut.cz/theses-templates/FITthesis-LaTeX
@@ -26,10 +26,10 @@
 %%
 %%
 
-% arara: pdflatex
+% arara: xelatex
 % arara: biber
-% arara: pdflatex
-% arara: pdflatex
+% arara: xelatex
+% arara: xelatex
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % CLASS OPTIONS
diff --git a/text/text.tex b/text/text.tex
index 37acbf9c69e5ad0df1816bf9c5a7e31542c0f506..647585800cc1542ef2cab0ed0fde49ad2f871281 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}