# package subfig adds overwriting label in list of figures

As said above, this MWE

\documentclass{book}
\usepackage{lipsum}
\usepackage{subfig} % this breaks list of figures with overwriting labels

\begin{document}

\mainmatter
\lipsum
\begin{figure}
\caption[Short caption for list of figures]{Long caption}
\end{figure}

\backmatter
\listoffigures

\end{document}

when compiled with pdflatex, produces the following problem:

whereas without subfig package everything is fine.

Any clue? Thanks in advance.

• Your code posted above doesn't recreate the problem. – user11232 Sep 27 '15 at 10:16
• @HarishKumar Very strange, I checked again and the problem is there, as you can see from the image I posted. I use MikTeX 2.9 and I just updated all packages, what did you use to check? – mmj Sep 27 '15 at 10:31
• Same miktex updated 3days ago. :) : i.stack.imgur.com/0cgav.png – user11232 Sep 27 '15 at 10:36
• Damn, now what? I also tried deleting the auxiliary files and disabling -shell-escape compiling option, problem still there. Is there any more cache I could delete? – mmj Sep 27 '15 at 10:46