fixed save convert and generate view to pdf