fixing broken pdf exports on dev servers