The pdf which is getting created in this is not containing any questions or heading, only the answers.