can anyone explain me why, in a beamer presentation, when I click on a link in the table of contents I am always sent to the first frame of the whole presentation and not to the first frame of the corresponding section?

\section{name of section}
\begin{frame}{contents}
\tableofcontents[currentsection]
\end{frame}


• Please make your code compilable (if possible), or at least complete it with \documentclass{...}, the required \usepackage's, \begin{document}, and \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – user36296 May 6 '15 at 17:23