pdf generation and delete action removal