fixing pdf generation of training manual