Fix pdf generation and call ready in manager