fixing russian pdf generation