Class which genereted pdf has been fixed