Avoid the setlength macro

Using the \setlength command doesn't work, since its first argument looks like a macro with the wrong number of arguments. Use an alternative form instead, e.g.

\parindent 0pt

instead of

\setlength{\parindent}{0pt}