fixed bug in caption and moved lstinline to texttt