1.almost finish generate PDF part 2.some other detail UI modified