[minor] [fix] reload core doctypes before patches