fix bug for using '\' failing pdf generation