pdf creation working with event name as title [Trevor]